home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / Add-Ons / MPW / MPW re2c 1.1 / token.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-01  |  314 b   |  24 lines  |  [TEXT/KAHL]

  1. #ifndef _token_h
  2. #define    _token_h
  3.  
  4. // $Log: token.h,v $
  5. //Revision 1.1  1994/04/08  15:27:59  peter
  6. //Initial revision
  7. //
  8.  
  9. #include "substr.h"
  10.  
  11. class Token {
  12.   public:
  13.     Str            text;
  14.     uint        line;
  15.   public:
  16.     Token(SubStr, uint);
  17. };
  18.  
  19. inline Token::Token(SubStr t, uint l) : text(t), line(l) {
  20.     ;
  21. }
  22.  
  23. #endif
  24.